package cn.edu.bupt.scidata.model.team;

public class CoLinkNode {
    String source;
    String target;
    LineStyle lineStyle;
    Label label;
    int[] symbolSize;

    public CoLinkNode(String source, String target) {
        this.source = source;
        this.target = target;
    }

    public CoLinkNode(String source, String target, LineStyle lineStyle, Label label) {
        this.source = source;
        this.target = target;
        this.lineStyle = lineStyle;
        this.label = label;
        this.symbolSize = new int[]{0, 10};
    }

    public int[] getSymbolSize() {
        return symbolSize;
    }

    public void setSymbolSize(int[] symbolSize) {
        this.symbolSize = symbolSize;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public LineStyle getLineStyle() {
        return lineStyle;
    }

    public void setLineStyle(LineStyle lineStyle) {
        this.lineStyle = lineStyle;
    }

    public Label getLabel() {
        return label;
    }

    public void setLabel(Label label) {
        this.label = label;
    }
}
